package org.xinjiang.tarim.travel.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.xinjiang.tarim.travel.model.User;

import java.util.List;

@Mapper
@Component("UserMapper")
public interface UserMapper {
    User selectByPrimaryKey(String id);

    List<User> selectByPhone(String phone);

    int insert(User record);

    int updateByPrimaryKeySelective(User record);
}